import instance from './ajax';

export const findSetting = (params: any = {}): any => instance.post('/wxapp/basic/find_setting', params);
// 小程序授权手机号登录
export const decryptPhone = (params: any = {}): any => instance.post('/wxapp/public/decrypt_phone', params);
// 公众号获取签名
export const getSignPackage = (params: any = {}): any => instance.post('/WechatScript/getSignPackage', params);
// 获取用户信息
export const getUserInfo = (params: any = {}): any => instance.post('/wxapp/user/get_user_info', params);
// 更新用户信息
export const updateMember = (params: any = {}): any => instance.post('/wxapp/user/update_user', params);
